package com.ms.service.module.commonsettings;

/**
 * 帳號重複登入阻擋IP功能設定
 * @author TW16028
 *
 */
public class CommonAccountLoginBlockIPSetting {
	
	/**
	 * 是否開啟
	 */
	private boolean open;
	
	
	/**
	 * 持續時間(毫秒)
	 */
	private int duration;
	
	/**
	 * 可嘗試次數
	 */
	private int numOfTry;
	
	/**
	 * 解鎖時間 (毫秒)
	 */
	private int unLockTime;

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public int getNumOfTry() {
		return numOfTry;
	}

	public void setNumOfTry(int numOfTry) {
		this.numOfTry = numOfTry;
	}

	public int getUnLockTime() {
		return unLockTime;
	}

	public void setUnLockTime(int unLockTime) {
		this.unLockTime = unLockTime;
	}
}
